package java_learn.java_jinjie.ThreadAndException;

/**
 * @Author: 李浩然
 * @Date: 2020/12/8 2:51 下午
 */
public class Demo02Exception {

    public static void main(String[] args) {
        int a = getA();
        System.out.println(a);
    }

    public static int getA() {
        int a = 10;
        try {
            return a;
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            a = 100;
            return a;
        }
    }
}
